<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>班级列表</h1>

<div>

    <ul th:each="clazz:${clazzes}">
        <li>
            <span th:text="${clazz.id}"></span>
            <span th:text="${clazz.name}"></span>
            <span th:text="${clazz.room}"></span>
            
        </li>
    </ul>
</div>
</body>
</html>